package org.huangjiahui.rpc.transport;

import org.huangjiahui.rpc.serializer.CommonSerializer;

/**
 * @author huangjiahui
 */
public interface RpcServer {

    int DEFAULT_SERIALiZER = CommonSerializer.KRYO_SERIALIZER;

    void start();

    <T> void publishService(T service, String serviceName);
}
